/* *****************************************************************************
 * JFab (http://code.google.com/p/jfab)
 * Copyright (c) 2011 JFab.org
 * Admin jfab@jeffreythompson.net
 *
 * See the file "LICENSE.txt" for information on usage and redistribution of
 * this file, and for a DISCLAIMER OF ALL WARRANTIES.
 * *****************************************************************************/


package org.jfab.core.alert;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for AlertDetail complex type.
 *
 * <p>The following schema fragment specifies the expected content contained
 * within this class.
 *
 * <pre>
   &lt;complexType name="AlertDetail">
     &lt;complexContent>
       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         &lt;sequence>
           &lt;element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
           &lt;element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
         &lt;/sequence>
       &lt;/restriction>
     &lt;/complexContent>
   &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(
    name = "AlertDetail",
    propOrder = { "key", "text" }
)
public class AlertDetailXml
{
    /** Key. */
    @XmlElement(required = true)
    protected String key;

    /** Text. */
    @XmlElement(required = true)
    protected String text;

    /**
     * Gets the value of the key property.
     *
     * @return  possible object is {@link String }
     */
    public String getKey()
    {
        return key;
    }

    /**
     * Gets the value of the text property.
     *
     * @return  possible object is {@link String }
     */
    public String getText()
    {
        return text;
    }

    /**
     * Sets the value of the key property.
     *
     * @param  value  allowed object is {@link String }
     */
    public void setKey(String value)
    {
        this.key = value;
    }

    /**
     * Sets the value of the text property.
     *
     * @param  value  allowed object is {@link String }
     */
    public void setText(String value)
    {
        this.text = value;
    }
}
